package cc.marcio.systems.seven.util;

import java.util.ResourceBundle;

public class MessageUtil {

	private static ResourceBundle rb;
	static {
		rb = ResourceBundle.getBundle("message");
	}
	
	public static String getString(String key) {
		return rb.getString(key);
	}
	
	public static Integer getInteger(String key) {
		try {
			return new Integer(rb.getString(key));
		} catch(Exception e) {
			return null;
		}
	}
}